package com.bzkj.document.domain.purchaseinorder.vo;

import com.alibaba.fastjson2.annotation.JSONField;
import com.bzkj.document.domain.BaseBillDetail;
import com.bzkj.document.domain.BaseInfoMap;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.Date;

/**
 * @projectName: prt-wms
 * @package: com.bzkj.document.domain.purchaseinorder.vo
 * @className: PurchaseInboundBodyVO
 * @description: 采购入库单表头
 * @author: C1309
 * @createDate: 2024年12月19日
 * @version: v1.0
 */
public class PurchaseInboundBodyVO extends BaseBillDetail {
    private String vqtunitrate; // 计量单位换算率
    private String csourcetranstype; // 来源交易类型
    private String csourcetype; // 来源类型
    private String vsourcebillcode; // 来源单据编码
    private String csourcebillhid; // 来源单据表头ID
    private String csourcebillbid; // 来源单据明细ID
    private String vvendbatchcode; // 供应商批次号
    private String vbatchcodenote; // 批次备注
    private Double nvolume; // 体积
    private Double nweight; // 重量
    private String vbcdef2;//供应商代码
    private String vbcdef3;//包材版本
    private String graphid;
    private String materialtype;
    private String spece;
    @JSONField(name = "cproductorid")
    @JsonProperty("cproductorid")
    BaseInfoMap cproductorid;
    @JSONField(name = "cvendorid")
    @JsonProperty("cvendorid")
    BaseInfoMap cvendorid;
    @JSONField(name = "cwarehouseid")
    @JsonProperty("cwarehouseid")
    BaseInfoMap cwarehouseid;

    public String getVqtunitrate() {
        return vqtunitrate;
    }

    public void setVqtunitrate(String vqtunitrate) {
        this.vqtunitrate = vqtunitrate;
    }

    public String getCsourcetranstype() {
        return csourcetranstype;
    }

    public void setCsourcetranstype(String csourcetranstype) {
        this.csourcetranstype = csourcetranstype;
    }

    public String getCsourcetype() {
        return csourcetype;
    }

    public void setCsourcetype(String csourcetype) {
        this.csourcetype = csourcetype;
    }

    public String getVsourcebillcode() {
        return vsourcebillcode;
    }

    public void setVsourcebillcode(String vsourcebillcode) {
        this.vsourcebillcode = vsourcebillcode;
    }

    public String getCsourcebillhid() {
        return csourcebillhid;
    }

    public void setCsourcebillhid(String csourcebillhid) {
        this.csourcebillhid = csourcebillhid;
    }

    public String getCsourcebillbid() {
        return csourcebillbid;
    }

    public void setCsourcebillbid(String csourcebillbid) {
        this.csourcebillbid = csourcebillbid;
    }

    public String getVvendbatchcode() {
        return vvendbatchcode;
    }

    public void setVvendbatchcode(String vvendbatchcode) {
        this.vvendbatchcode = vvendbatchcode;
    }

    public String getVbatchcodenote() {
        return vbatchcodenote;
    }

    public void setVbatchcodenote(String vbatchcodenote) {
        this.vbatchcodenote = vbatchcodenote;
    }

    public Double getNvolume() {
        return nvolume;
    }

    public void setNvolume(Double nvolume) {
        this.nvolume = nvolume;
    }

    public Double getNweight() {
        return nweight;
    }

    public void setNweight(Double nweight) {
        this.nweight = nweight;
    }

    public String getVbcdef2() {
        return vbcdef2;
    }

    public void setVbcdef2(String vbcdef2) {
        this.vbcdef2 = vbcdef2;
    }

    public String getVbcdef3() {
        return vbcdef3;
    }

    public void setVbcdef3(String vbcdef3) {
        this.vbcdef3 = vbcdef3;
    }

    public String getGraphid() {
        return graphid;
    }

    public void setGraphid(String graphid) {
        this.graphid = graphid;
    }

    public String getMaterialtype() {
        return materialtype;
    }

    public void setMaterialtype(String materialtype) {
        this.materialtype = materialtype;
    }

    public String getSpece() {
        return spece;
    }

    public void setSpece(String spece) {
        this.spece = spece;
    }

    public BaseInfoMap getCproductorid() {
        return cproductorid;
    }

    public void setCproductorid(BaseInfoMap cproductorid) {
        this.cproductorid = cproductorid;
    }

    public BaseInfoMap getCvendorid() {
        return cvendorid;
    }

    public void setCvendorid(BaseInfoMap cvendorid) {
        this.cvendorid = cvendorid;
    }

    public BaseInfoMap getCwarehouseid() {
        return cwarehouseid;
    }

    public void setCwarehouseid(BaseInfoMap cwarehouseid) {
        this.cwarehouseid = cwarehouseid;
    }

    @Override
    public String toString() {
        return "PurchaseInboundBodyVO{" +
                "vqtunitrate='" + vqtunitrate + '\'' +
                ", csourcetranstype='" + csourcetranstype + '\'' +
                ", csourcetype='" + csourcetype + '\'' +
                ", vsourcebillcode='" + vsourcebillcode + '\'' +
                ", csourcebillhid='" + csourcebillhid + '\'' +
                ", csourcebillbid='" + csourcebillbid + '\'' +
                ", vvendbatchcode='" + vvendbatchcode + '\'' +
                ", vbatchcodenote='" + vbatchcodenote + '\'' +
                ", nvolume=" + nvolume +
                ", nweight=" + nweight +
                ", vbcdef2='" + vbcdef2 + '\'' +
                ", vbcdef3='" + vbcdef3 + '\'' +
                ", graphid='" + graphid + '\'' +
                ", materialtype='" + materialtype + '\'' +
                ", spece='" + spece + '\'' +
                ", cproductorid=" + cproductorid +
                ", cvendorid=" + cvendorid +
                ", cwarehouseid=" + cwarehouseid +
                "} " + super.toString();
    }
}
